<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>结算支付 | 超现实数码潮玩</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        /* 修复滚动条问题 */
        html {
            overflow-y: scroll;
        }

        body {
            width: 100vw;
            overflow-x: hidden;
            position: relative;
            background: #0a0a16;
            color: #fff;
            background-image:
                radial-gradient(circle at 10% 20%, rgba(255, 0, 128, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 50% 50%, rgba(128, 0, 255, 0.05) 0%, transparent 30%);
            min-height: 100vh;
        }

        /* 迷幻背景动画 */
        .psychedelic-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0.7;
            background:
                radial-gradient(circle at 20% 80%, rgba(255, 0, 128, 0.3) 0%, transparent 25%),
                radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.3) 0%, transparent 25%),
                radial-gradient(circle at 40% 40%, rgba(128, 0, 255, 0.2) 0%, transparent 25%);
            animation: bgShift 15s infinite alternate;
        }

        @keyframes bgShift {
            0% {
                transform: scale(1) rotate(0deg);
            }

            100% {
                transform: scale(1.1) rotate(3deg);
            }
        }

        /* 导航栏 */
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 5%;
            /* position: fixed;
            top: 0;
            left: 0;
            z-index: 1000; */
            width: 100%;
            background: rgba(10, 10, 22, 0.9);
            backdrop-filter: blur(10px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .logo {
            font-size: 28px;
            font-weight: 800;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            font-weight: 600;
            position: relative;
            padding: 5px 0;
            transition: all 0.3s;
        }

        .nav-links a.active {
            color: #ff00cc;
        }

        .nav-links a.active:after {
            width: 100%;
        }

        .nav-links a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            transition: width 0.3s;
        }

        .nav-links a:hover {
            color: #ff00cc;
        }

        .nav-links a:hover:after {
            width: 100%;
        }

        .cart-icon {
            position: relative;
            margin-left: 20px;
        }

        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            font-weight: bold;
        }

        /* 主标题区域 */
        .hero {
            text-align: center;
            padding: 100px 5% 80px;
            position: relative;
        }

        .hero h1 {
            font-size: 4rem;
            margin-bottom: 20px;
            background: linear-gradient(45deg, #ff00cc, #00ccff, #ffcc00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            text-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
            animation: titleGlow 3s infinite alternate;
        }

        @keyframes titleGlow {
            0% {
                text-shadow: 0 0 20px rgba(255, 0, 204, 0.5);
            }

            100% {
                text-shadow: 0 0 30px rgba(0, 204, 255, 0.7), 0 0 40px rgba(255, 204, 0, 0.5);
            }
        }

        .hero p {
            font-size: 1.3rem;
            max-width: 800px;
            margin: 0 auto 40px;
            color: #ccccff;
            line-height: 1.6;
        }

        /* 结算步骤指示器 */
        .checkout-steps {
            display: flex;
            justify-content: center;
            margin: 40px auto;
            max-width: 800px;
            position: relative;
        }

        .step {
            display: flex;
            flex-direction: column;
            align-items: center;
            flex: 1;
            position: relative;
        }

        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(20, 20, 40, 0.7);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 10px;
            font-weight: 700;
            border: 2px solid rgba(255, 255, 255, 0.2);
            transition: all 0.3s;
            z-index: 2;
        }

        .step.active .step-number {
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            border-color: #ff00cc;
            box-shadow: 0 0 10px rgba(255, 0, 204, 0.5);
        }

        .step.completed .step-number {
            background: linear-gradient(45deg, #00cc88, #00ccff);
            border-color: #00cc88;
        }

        .step.completed .step-number:after {
            content: '✓';
            color: white;
        }

        .step-label {
            font-size: 0.9rem;
            color: #ccccff;
        }

        .step.active .step-label {
            color: #ffcc00;
            font-weight: 600;
        }

        .steps-connector {
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 2px;
            background: rgba(255, 255, 255, 0.1);
            z-index: 1;
        }

        .steps-progress {
            position: absolute;
            top: 20px;
            left: 0;
            height: 2px;
            background: linear-gradient(90deg, #ff00cc, #3333ff);
            z-index: 1;
            transition: width 0.5s;
        }

        /* 结算内容区域 */
        .checkout-content {
            padding: 50px 5%;
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 50px;
            background: linear-gradient(45deg, #00ccff, #ffcc00);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
        }

        .section-title:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 3px;
            background: linear-gradient(90deg, #ff00cc, #3333ff);
        }

        .checkout-container {
            display: flex;
            flex-wrap: wrap;
            gap: 40px;
        }

        .checkout-form {
            flex: 2;
            min-width: 300px;
        }

        .checkout-summary {
            flex: 1;
            min-width: 300px;
            background: rgba(20, 20, 40, 0.7);
            border-radius: 20px;
            padding: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            height: fit-content;
            position: sticky;
            top: 20px;
        }

        .form-section {
            background: rgba(20, 20, 40, 0.7);
            border-radius: 20px;
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        .form-section h3 {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #ffcc00;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-section h3 i {
            color: #00ccff;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-row {
            display: flex;
            gap: 15px;
        }

        .form-group.half {
            flex: 1;
        }

        label {
            display: block;
            margin-bottom: 8px;
            color: #ccccff;
            font-weight: 600;
        }

        input,
        select,
        textarea {
            width: 100%;
            padding: 12px 15px;
            background: rgba(30, 30, 50, 0.7);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            color: #fff;
            font-size: 1rem;
            outline: none;
            transition: all 0.3s;
        }

        input:focus,
        select:focus,
        textarea:focus {
            border-color: #ff00cc;
            box-shadow: 0 0 10px rgba(255, 0, 204, 0.3);
        }

        .payment-methods {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 15px;
            margin-top: 20px;
        }

        .payment-method {
            background: rgba(30, 30, 50, 0.7);
            border: 2px solid rgba(255, 255, 255, 0.1);
            border-radius: 10px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s;
        }

        .payment-method:hover {
            border-color: rgba(255, 0, 204, 0.5);
            transform: translateY(-3px);
        }

        .payment-method.active {
            border-color: #ff00cc;
            background: rgba(255, 0, 204, 0.1);
        }

        .payment-method i {
            font-size: 2rem;
            margin-bottom: 10px;
            color: #00ccff;
        }

        .payment-method.active i {
            color: #ff00cc;
        }

        .summary-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
            color: #ffcc00;
            text-align: center;
        }

        .order-items {
            margin-bottom: 25px;
        }

        .order-item {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            padding-bottom: 15px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .item-image {
            width: 60px;
            height: 60px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .item-image i {
            font-size: 24px;
            color: white;
            opacity: 0.8;
        }

        .item-details {
            flex: 1;
        }

        .item-details h4 {
            font-size: 1rem;
            margin-bottom: 5px;
            color: #ffcc00;
        }

        .item-price {
            font-size: 0.9rem;
            color: #00ccff;
        }

        .summary-details {
            margin-bottom: 25px;
        }

        .summary-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .summary-total {
            font-size: 1.3rem;
            font-weight: 700;
            color: #00ccff;
            border-bottom: none;
            margin-top: 10px;
        }

        .checkout-btn {
            width: 100%;
            padding: 15px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 5px 15px rgba(255, 0, 204, 0.3);
        }

        .checkout-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 0, 204, 0.5);
        }

        .checkout-btn:disabled {
            background: rgba(255, 255, 255, 0.1);
            color: #8888cc;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        /* 超现实元素 */
        .surreal-elements {
            position: absolute;
            pointer-events: none;
            z-index: 1;
        }

        .floating-shape {
            position: absolute;
            border-radius: 50%;
            opacity: 0.7;
            animation: float 6s infinite ease-in-out;
        }

        .shape-1 {
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, #ff00cc, transparent);
            top: 10%;
            left: 5%;
            animation-delay: 0s;
        }

        .shape-2 {
            width: 150px;
            height: 150px;
            background: radial-gradient(circle, #00ccff, transparent);
            top: 60%;
            right: 10%;
            animation-delay: 2s;
        }

        .shape-3 {
            width: 80px;
            height: 80px;
            background: radial-gradient(circle, #ffcc00, transparent);
            bottom: 20%;
            left: 15%;
            animation-delay: 4s;
        }

        @keyframes float {
            0% {
                transform: translateY(0) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(180deg);
            }

            100% {
                transform: translateY(0) rotate(360deg);
            }
        }

        /* 扭曲网格 */
        .distorted-grid {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(rgba(255, 0, 204, 0.1) 1px, transparent 1px),
                linear-gradient(90deg, rgba(255, 0, 204, 0.1) 1px, transparent 1px);
            background-size: 50px 50px;
            animation: gridDistort 10s infinite linear;
            /* 以顶部为中心变换 */
            transform-origin: center top;
            z-index: -1;
        }

        @keyframes gridDistort {
            0% {
                transform: perspective(500px) rotateX(60deg) scale(1);
            }

            50% {
                transform: perspective(500px) rotateX(60deg) scale(1.2) skew(5deg, 5deg);
            }

            100% {
                transform: perspective(500px) rotateX(60deg) scale(1);
            }
        }

        /* 页脚 */
        footer {
            background: rgba(10, 10, 30, 0.9);
            padding: 50px 5% 30px;
            margin-top: 100px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
        }

        .footer-section {
            flex: 1;
            min-width: 250px;
        }

        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: #ffcc00;
        }

        .footer-section p,
        .footer-section a {
            color: #ccccff;
            margin-bottom: 10px;
            display: block;
            text-decoration: none;
            transition: color 0.3s;
        }

        .footer-section a:hover {
            color: #ff00cc;
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 15px;
        }

        .social-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            transition: all 0.3s;
        }

        .social-links a:hover {
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            margin-top: 40px;
            padding-top: 20px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #8888cc;
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 2.5rem;
            }

            .nav-links {
                display: none;
            }

            .checkout-container {
                flex-direction: column;
            }

            .form-row {
                flex-direction: column;
            }

            .payment-methods {
                grid-template-columns: 1fr 1fr;
            }

            .checkout-steps {
                flex-wrap: wrap;
            }

            .step {
                flex: 0 0 33.33%;
                margin-bottom: 20px;
            }
        }

        /* 成功页面样式 */
        .success-page {
            text-align: center;
            padding: 80px 5%;
            max-width: 800px;
            margin: 0 auto;
        }

        .success-icon {
            font-size: 100px;
            color: #00cc88;
            margin-bottom: 30px;
            animation: bounce 1s infinite alternate;
        }

        @keyframes bounce {
            from {
                transform: translateY(0);
            }

            to {
                transform: translateY(-20px);
            }
        }

        .success-title {
            font-size: 3rem;
            margin-bottom: 20px;
            color: #00cc88;
        }

        .order-details {
            background: rgba(20, 20, 40, 0.7);
            border-radius: 20px;
            padding: 30px;
            margin: 40px 0;
            text-align: left;
        }

        .order-details h3 {
            color: #ffcc00;
            margin-bottom: 20px;
            text-align: center;
        }

        .order-info {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .info-item {
            margin-bottom: 15px;
        }

        .info-label {
            font-weight: 600;
            color: #ccccff;
        }

        .info-value {
            color: #00ccff;
        }

        .action-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .btn {
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            border: none;
            font-size: 1rem;
            text-decoration: none;
            display: inline-block;
        }

        .btn-primary {
            background: linear-gradient(45deg, #ff00cc, #3333ff);
            color: white;
        }

        .btn-secondary {
            background: rgba(255, 255, 255, 0.1);
            color: #ccccff;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(255, 0, 204, 0.3);
        }
    </style>
</head>

<body>
    <!-- 迷幻背景 -->
    <div class="psychedelic-bg"></div>

    <!-- 超现实浮动元素 -->
    <div class="surreal-elements">
        <div class="floating-shape shape-1"></div>
        <div class="floating-shape shape-2"></div>
        <div class="floating-shape shape-3"></div>
    </div>

    <!-- 扭曲网格 -->
    <div class="distorted-grid"></div>

    <!-- 导航栏 -->
    <nav>
        <div class="logo">PSYCHEDELIC TOYS</div>
        <div class="nav-links">
            <a href="index_2.html">首页</a>
            <a href="toys.html">潮玩</a>
            <a href="artists.html">艺术家</a>
            <a href="exhibitions.html">展览</a>
            <a href="news_list.html">新闻资讯</a>
            <a href="about.html">关于我们</a>
            <a href="cart.html">购物车</a>
            <a href="checkout.html" class="active">结算</a>
        </div>
        <div class="cart-icon">
            <a href="cart.html"><i class="fas fa-shopping-cart"></i></a>
            <span class="cart-count" id="cartCount">3</span>
        </div>
    </nav>

    <!-- 主标题区域 -->
    <section class="hero">
        <h1>结算支付</h1>
        <p>完成您的超现实数字潮玩收藏之旅</p>
    </section>

    <!-- 结算步骤指示器 -->
    <div class="checkout-steps">
        <div class="steps-connector"></div>
        <div class="steps-progress" id="stepsProgress"></div>

        <div class="step active" id="step1">
            <div class="step-number">1</div>
            <div class="step-label">订单确认</div>
        </div>
        <div class="step" id="step2">
            <div class="step-number">2</div>
            <div class="step-label">支付信息</div>
        </div>
        <div class="step" id="step3">
            <div class="step-number">3</div>
            <div class="step-label">完成订单</div>
        </div>
    </div>

    <!-- 结算内容区域 -->
    <section class="checkout-content" id="checkoutContent">
        <!-- 第一步：订单确认 -->
        <div class="checkout-step" id="step1Content">
            <h2 class="section-title">订单确认</h2>
            <div class="checkout-container">
                <div class="checkout-form">
                    <div class="form-section">
                        <h3><i class="fas fa-shipping-fast"></i> 配送信息</h3>
                        <div class="form-group">
                            <label for="fullName">收货人姓名</label>
                            <input type="text" id="fullName" placeholder="请输入收货人姓名">
                        </div>
                        <div class="form-group">
                            <label for="phone">联系电话</label>
                            <input type="tel" id="phone" placeholder="请输入联系电话">
                        </div>
                        <div class="form-group">
                            <label for="address">详细地址</label>
                            <textarea id="address" rows="3" placeholder="请输入详细收货地址"></textarea>
                        </div>
                        <div class="form-row">
                            <div class="form-group half">
                                <label for="city">城市</label>
                                <input type="text" id="city" placeholder="请输入城市">
                            </div>
                            <div class="form-group half">
                                <label for="postalCode">邮政编码</label>
                                <input type="text" id="postalCode" placeholder="请输入邮政编码">
                            </div>
                        </div>
                    </div>

                    <div class="form-section">
                        <h3><i class="fas fa-credit-card"></i> 支付方式</h3>
                        <div class="payment-methods">
                            <div class="payment-method active" data-method="alipay">
                                <i class="fab fa-alipay"></i>
                                <div>支付宝</div>
                            </div>
                            <div class="payment-method" data-method="wechat">
                                <i class="fab fa-weixin"></i>
                                <div>微信支付</div>
                            </div>
                            <div class="payment-method" data-method="card">
                                <i class="far fa-credit-card"></i>
                                <div>银行卡</div>
                            </div>
                            <div class="payment-method" data-method="crypto">
                                <i class="fab fa-bitcoin"></i>
                                <div>加密货币</div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="checkout-summary">
                    <h3 class="summary-title">订单摘要</h3>
                    <div class="order-items">
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-robot"></i>
                            </div>
                            <div class="item-details">
                                <h4>量子机械兽</h4>
                                <div class="item-price">¥ 1,299 × 1</div>
                            </div>
                        </div>
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-dragon"></i>
                            </div>
                            <div class="item-details">
                                <h4>赛博龙族</h4>
                                <div class="item-price">¥ 2,499 × 1</div>
                            </div>
                        </div>
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-cat"></i>
                            </div>
                            <div class="item-details">
                                <h4>幻影猫</h4>
                                <div class="item-price">¥ 899 × 2</div>
                            </div>
                        </div>
                    </div>
                    <div class="summary-details">
                        <div class="summary-row">
                            <span>小计:</span>
                            <span>¥ 5,596</span>
                        </div>
                        <div class="summary-row">
                            <span>运费:</span>
                            <span>¥ 50</span>
                        </div>
                        <div class="summary-row">
                            <span>折扣:</span>
                            <span>-¥ 200</span>
                        </div>
                        <div class="summary-row summary-total">
                            <span>总计:</span>
                            <span>¥ 5,446</span>
                        </div>
                    </div>
                    <button class="checkout-btn" id="nextToStep2">继续支付</button>
                </div>
            </div>
        </div>

        <!-- 第二步：支付信息 -->
        <div class="checkout-step" id="step2Content" style="display: none;">
            <h2 class="section-title">支付信息</h2>
            <div class="checkout-container">
                <div class="checkout-form">
                    <div class="form-section">
                        <h3><i class="fas fa-qrcode"></i> 支付宝支付</h3>
                        <div style="text-align: center; margin: 30px 0;">
                            <div
                                style="width: 200px; height: 200px; background: #f0f0f0; margin: 0 auto; display: flex; align-items: center; justify-content: center; border-radius: 10px;">
                                <i class="fas fa-qrcode" style="font-size: 100px; color: #333;"></i>
                            </div>
                            <p style="margin-top: 20px; color: #ccccff;">请使用支付宝扫描二维码完成支付</p>
                        </div>

                        <div class="form-group">
                            <label for="transactionId">交易号 (可选)</label>
                            <input type="text" id="transactionId" placeholder="如已支付，请输入交易号">
                        </div>
                    </div>
                </div>

                <div class="checkout-summary">
                    <h3 class="summary-title">订单详情</h3>
                    <div class="order-items">
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-robot"></i>
                            </div>
                            <div class="item-details">
                                <h4>量子机械兽</h4>
                                <div class="item-price">¥ 1,299</div>
                            </div>
                        </div>
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-dragon"></i>
                            </div>
                            <div class="item-details">
                                <h4>赛博龙族</h4>
                                <div class="item-price">¥ 2,499</div>
                            </div>
                        </div>
                        <div class="order-item">
                            <div class="item-image">
                                <i class="fas fa-cat"></i>
                            </div>
                            <div class="item-details">
                                <h4>幻影猫 × 2</h4>
                                <div class="item-price">¥ 1,798</div>
                            </div>
                        </div>
                    </div>
                    <div class="summary-details">
                        <div class="summary-row">
                            <span>小计:</span>
                            <span>¥ 5,596</span>
                        </div>
                        <div class="summary-row">
                            <span>运费:</span>
                            <span>¥ 50</span>
                        </div>
                        <div class="summary-row">
                            <span>折扣:</span>
                            <span>-¥ 200</span>
                        </div>
                        <div class="summary-row summary-total">
                            <span>总计:</span>
                            <span>¥ 5,446</span>
                        </div>
                    </div>
                    <button class="checkout-btn" id="confirmPayment">确认支付</button>
                    <button class="checkout-btn" id="backToStep1"
                        style="margin-top: 10px; background: rgba(255, 255, 255, 0.1);">返回修改</button>
                </div>
            </div>
        </div>

        <!-- 第三步：完成订单 -->
        <div class="success-page" id="step3Content" style="display: none;">
            <div class="success-icon">
                <i class="fas fa-check-circle"></i>
            </div>
            <h2 class="success-title">支付成功！</h2>
            <p>感谢您的购买！您的超现实数字潮玩已成功订购。</p>

            <div class="order-details">
                <h3>订单详情</h3>
                <div class="order-info">
                    <div class="info-item">
                        <span class="info-label">订单号:</span>
                        <span class="info-value">PSY20231201567</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">订单日期:</span>
                        <span class="info-value">2023年12月1日</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">支付方式:</span>
                        <span class="info-value">支付宝</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">支付金额:</span>
                        <span class="info-value">¥ 5,446</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">收货人:</span>
                        <span class="info-value">张星辰</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">联系电话:</span>
                        <span class="info-value">138****5678</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">配送地址:</span>
                        <span class="info-value">上海市浦东新区数字艺术园区A座1001室</span>
                    </div>
                    <div class="info-item">
                        <span class="info-label">预计送达:</span>
                        <span class="info-value">2023年12月5日</span>
                    </div>
                </div>
            </div>

            <div class="action-buttons">
                <a href="index.html" class="btn btn-primary">返回首页</a>
                <a href="toys.html" class="btn btn-secondary">继续购物</a>
                <a href="orders.html" class="btn btn-secondary">查看订单</a>
            </div>
        </div>
    </section>

    <!-- 页脚 -->
    <footer>
        <div class="footer-content">
            <div class="footer-section">
                <h3>关于我们</h3>
                <p>我们是一家专注于超现实数字艺术品的创作与发行平台，致力于将前沿科技与艺术创新相结合。</p>
            </div>

            <div class="footer-section">
                <h3>快速链接</h3>
                <a href="index.html">首页</a>
                <a href="toys.html">潮玩</a>
                <a href="artists.html">艺术家</a>
                <a href="exhibitions.html">展览</a>
                <a href="about.html">关于我们</a>
            </div>

            <div class="footer-section">
                <h3>联系我们</h3>
                <p>邮箱: contact@psychedelictoys.com</p>
                <p>电话: 400-123-4567</p>
                <p>地址: 上海市数字艺术园区A座</p>
                <div class="social-links">
                    <a href="#"><i class="fab fa-weibo"></i></a>
                    <a href="#"><i class="fab fa-weixin"></i></a>
                    <a href="#"><i class="fab fa-instagram"></i></a>
                    <a href="#"><i class="fab fa-tiktok"></i></a>
                </div>
            </div>
        </div>

        <div class="copyright">
            <p>&copy; 2023 超现实数码潮玩. 保留所有权利.</p>
        </div>
    </footer>

    <script>
        // 步骤切换逻辑
        document.addEventListener('DOMContentLoaded', function () {
            const step1Content = document.getElementById('step1Content');
            const step2Content = document.getElementById('step2Content');
            const step3Content = document.getElementById('step3Content');

            const step1 = document.getElementById('step1');
            const step2 = document.getElementById('step2');
            const step3 = document.getElementById('step3');

            const nextToStep2 = document.getElementById('nextToStep2');
            const backToStep1 = document.getElementById('backToStep1');
            const confirmPayment = document.getElementById('confirmPayment');

            const stepsProgress = document.getElementById('stepsProgress');

            // 更新步骤进度条
            function updateProgress(step) {
                if (step === 1) {
                    stepsProgress.style.width = '0%';
                } else if (step === 2) {
                    stepsProgress.style.width = '50%';
                } else if (step === 3) {
                    stepsProgress.style.width = '100%';
                }
            }

            // 切换到步骤2
            nextToStep2.addEventListener('click', function () {
                step1Content.style.display = 'none';
                step2Content.style.display = 'block';
                step3Content.style.display = 'none';

                step1.classList.remove('active');
                step2.classList.add('active');
                step3.classList.remove('active');

                updateProgress(2);
            });

            // 返回步骤1
            backToStep1.addEventListener('click', function () {
                step1Content.style.display = 'block';
                step2Content.style.display = 'none';
                step3Content.style.display = 'none';

                step1.classList.add('active');
                step2.classList.remove('active');
                step3.classList.remove('active');

                updateProgress(1);
            });

            // 确认支付，切换到步骤3
            confirmPayment.addEventListener('click', function () {
                step1Content.style.display = 'none';
                step2Content.style.display = 'none';
                step3Content.style.display = 'block';

                step1.classList.add('completed');
                step2.classList.add('completed');
                step3.classList.add('active');

                updateProgress(3);
            });

            // 支付方式选择
            const paymentMethods = document.querySelectorAll('.payment-method');
            paymentMethods.forEach(method => {
                method.addEventListener('click', function () {
                    paymentMethods.forEach(m => m.classList.remove('active'));
                    this.classList.add('active');
                });
            });
        });
    </script>
</body>

</html>